/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.meter.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.tenant.mp.TenantEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 计量点表实体类
 *
 * @author John
 * @since 2020-08-15
 */
@Data
@TableName("t_kilowatt_meter")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "KilowattMeter对象", description = "计量点表")
public class KilowattMeter extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 计量点编号
	*/
		@ApiModelProperty(value = "计量点编号")
		private String kmNo;
	/**
	* 计量点名称
	*/
		@ApiModelProperty(value = "计量点名称")
		private String kmName;
	/**
	* 缴费优先级
	*/
		@ApiModelProperty(value = "缴费优先级")
		private String payPriority;
	/**
	* 抄表方式
	*/
		@ApiModelProperty(value = "抄表方式")
		private Integer recordMode;
	/**
	* 计量点状态
	*/
		@ApiModelProperty(value = "计量点状态")
		private String kmStatus;
	/**
	* 最新读数
	*/
		@ApiModelProperty(value = "最新读数")
		private BigDecimal readValue;
	/**
	* 读数时间
	*/
		@ApiModelProperty(value = "读数时间")
		private LocalDateTime readTime;
	/**
	* 上次读数
	*/
		@ApiModelProperty(value = "上次读数")
		private BigDecimal preReadValue;
	/**
	* 上次读数时间
	*/
		@ApiModelProperty(value = "上次读数时间")
		private LocalDateTime preReadTime;
	/**
	* 分时段计费：尖值
	*/
		@ApiModelProperty(value = "分时段计费：尖值")
		private BigDecimal sharpReadValue;
	/**
	* 分时段计费：尖值读取时间
	*/
		@ApiModelProperty(value = "分时段计费：尖值读取时间")
		private LocalDateTime sharpReadTime;
	/**
	* 分时段计费：上次尖值
	*/
		@ApiModelProperty(value = "分时段计费：上次尖值")
		private BigDecimal preSharpReadValue;
	/**
	* 分时段计费：上次尖值读取时间
	*/
		@ApiModelProperty(value = "分时段计费：上次尖值读取时间")
		private LocalDateTime preSharpReadTime;
	/**
	* 分时段计费：峰
	*/
		@ApiModelProperty(value = "分时段计费：峰")
		private BigDecimal peekReadValue;
	/**
	* 分时段计费：峰值读取时间
	*/
		@ApiModelProperty(value = "分时段计费：峰值读取时间")
		private LocalDateTime peekReadTime;
	/**
	* 分时段计费：上次峰值
	*/
		@ApiModelProperty(value = "分时段计费：上次峰值")
		private BigDecimal prePeekReadValue;
	/**
	* 分时段计费：上次峰值读取时间
	*/
		@ApiModelProperty(value = "分时段计费：上次峰值读取时间")
		private LocalDateTime prePeekReadTime;
	/**
	* 分时段计费：平
	*/
		@ApiModelProperty(value = "分时段计费：平")
		private BigDecimal flatReadValue;
	/**
	* 分时段计费：平值读取时间
	*/
		@ApiModelProperty(value = "分时段计费：平值读取时间")
		private LocalDateTime flatReadTime;
	/**
	* 分时段计费：上次平值
	*/
		@ApiModelProperty(value = "分时段计费：上次平值")
		private BigDecimal preFlatReadValue;
	/**
	* 分时段计费：上次平值读取时间
	*/
		@ApiModelProperty(value = "分时段计费：上次平值读取时间")
		private LocalDateTime preFlatReadTime;
	/**
	* 分时段计费：谷
	*/
		@ApiModelProperty(value = "分时段计费：谷")
		private BigDecimal lowReadValue;
	/**
	* 分时段计费：谷值读取时间
	*/
		@ApiModelProperty(value = "分时段计费：谷值读取时间")
		private LocalDateTime lowReadTime;
	/**
	* 分时段计费：上次谷值
	*/
		@ApiModelProperty(value = "分时段计费：上次谷值")
		private BigDecimal preLowReadValue;
	/**
	* 分时段计费：上次谷值读取时间
	*/
		@ApiModelProperty(value = "分时段计费：上次谷值读取时间")
		private LocalDateTime preLowReadTime;
	/**
	* 用电类型：工业用电、商业用电、家庭用电
	*/
		@ApiModelProperty(value = "用电类型：工业用电、商业用电、家庭用电")
		private Integer voltageType;
	/**
	* 电价计算方式：普通计费；阶梯计费；分时段计费
	*/
		@ApiModelProperty(value = "电价计算方式：普通计费；阶梯计费；分时段计费")
		private Integer priceType;
	/**
	* 功率因数标准
	*/
		@ApiModelProperty(value = "功率因数标准")
		private String powerFactor;
	/**
	* 功率因数考核方式
	*/
		@ApiModelProperty(value = "功率因数考核方式")
		private String powerFactorAssess;
	/**
	* 线损分摊方式，0表示通过网损百分比计算，1表示手工录入网损电量
	*/
		@ApiModelProperty(value = "线损分摊方式，0表示通过网损百分比计算，1表示手工录入网损电量")
		private Integer lineLossShareType;
	/**
	* 线损计算方式
	*/
		@ApiModelProperty(value = "线损计算方式")
		private Integer lineLossCalculation;
	/**
	* 线损分摊协议值，录入网损百分比，比如录入8，表示8%
	*/
		@ApiModelProperty(value = "线损分摊协议值，录入网损百分比，比如录入8，表示8%")
		private BigDecimal lineLossShareValue;
	/**
	* 有功线损计算值
	*/
		@ApiModelProperty(value = "有功线损计算值")
		private BigDecimal activePowerLineLoss;
	/**
	* 无功线损计算值
	*/
		@ApiModelProperty(value = "无功线损计算值")
		private BigDecimal reactivePowerLineLoss;
	/**
	* 报装容量
	*/
		@ApiModelProperty(value = "报装容量")
		private String instCapacity;
	/**
	* 抄表次数
	*/
		@ApiModelProperty(value = "抄表次数")
		private BigDecimal meCount;
	/**
	* 分摊总户数
	*/
		@ApiModelProperty(value = "分摊总户数")
		private BigDecimal shareCount;
	/**
	* 分摊总面积
	*/
		@ApiModelProperty(value = "分摊总面积")
		private BigDecimal shareAcreage;
	/**
	* 分摊总容量
	*/
		@ApiModelProperty(value = "分摊总容量")
		private BigDecimal shareCapacity;
	/**
	* 电源容量
	*/
		@ApiModelProperty(value = "电源容量")
		private String capacity;
	/**
	* 电源类型
	*/
		@ApiModelProperty(value = "电源类型")
		private String powerType;
	/**
	* 电源链接方式
	*/
		@ApiModelProperty(value = "电源链接方式")
		private String powerLinkMode;
	/**
	* 电源切换方式
	*/
		@ApiModelProperty(value = "电源切换方式")
		private String powerSwitchMode;
	/**
	* 所属客户
	*/
		@ApiModelProperty(value = "所属客户")
		private Long customerId;
	/**
	* 所属用户
	*/
		@ApiModelProperty(value = "所属用户")
		private Long memberId;
	/**
	* 合同id
	*/
		@ApiModelProperty(value = "合同id")
		private Long contractId;
	/**
	* 备注
	*/
		@ApiModelProperty(value = "备注")
		private String remarks;


}
